﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MessageBox.ascx.cs" ClassName="MessageBox" Inherits="Hxsoft.AppV1._Controls.MessageBox" %>
<div id="<%= this.ClientID %>" class="MessageBox">
	<div class="MessageBox_FormHeader">
		<div id="<%= this.ClientID %>_CaptionBox" class="MessageBox_CaptionBox">
		</div>
		<div id="<%= this.ClientID %>_CloseButton" class="MessageBox_CloseButton">
		</div>
	</div>
	<div class="MessageBox_FormBody">
		<div id="<%= this.ClientID %>_NavBox" class="MessageBox_NavBox">
		</div>
		<div id="<%= this.ClientID %>_TitleBox" class="MessageBox_TitleBox">
		</div>
		<div id="<%= this.ClientID %>_ImageBox" class="MessageBox_ImageBox">
		</div>
		<div id="<%= this.ClientID %>_ContentBox" class="MessageBox_ContentBox">
		</div>
		<div id="<%= this.ClientID %>_AutoGoBox" class="MessageBox_AutoGoBox">
		</div>
		<div id="<%= this.ClientID %>_Toolbar" class="MessageBox_Toolbar">
		</div>
	</div>
</div>
<script type="text/javascript">
<!--
$(function()
{
	var messageBox = new MessageBox("<%= this.ClientID %>",
		"<%= this.ClientID %>_CaptionBox",
		"<%= this.ClientID %>_CloseButton",
		"<%= this.ClientID %>_NavBox",
		"<%= this.ClientID %>_TitleBox",
		"<%= this.ClientID %>_ImageBox",
		"<%= this.ClientID %>_ContentBox",
		"<%= this.ClientID %>_AutoGoBox",
		"<%= this.ClientID %>_Toolbar",
		"<%= PromptText %>",
		"<%= WarningText %>",
		"<%= ErrorText %>",
		"<%= NavTipText %>",
		"<%= NavNextMsgText %>",
		"<%= NavForeMsgText %>",
		"<%= BackText %>",
		"<%= CloseText %>",
		"<%= AutoGoTipText %>");
	
	try{
		var prm = Sys.WebForms.PageRequestManager.getInstance();
		var pageRequestEndHandle = Function.createDelegate(messageBox, function(sender, args){
				this.ExecPageMessages();
			});
		prm.add_endRequest(pageRequestEndHandle);
	} catch(e) {}
	
	messageBox.ExecPageMessages();
});
-->
</script>